.wide-news {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    min-height: 80px; /* Kartın minimum hündürlüyünü təyin edir */
}

.wide-news-image {
    position: relative;
    flex: 0 0 25%; /* Şəkilin ideal en ölçüsü */
    padding-bottom: 14.25%; /* 16:9 nisbətində şəkilin hündürlüyünü təmin edir */
    height: 0; /* Hündürlük sıfır edilir, padding-bottom nisbətinə əsaslanır */
    overflow: hidden;
}

.wide-news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Şəkilin 16:9 formatında düzgün yerləşməsini təmin edir */
}

.wide-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 15px;
}

.wide-news-title {
    font-size: 1rem;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.wide-news-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
}

.wide-news-meta {
    flex: 0 0 10%;
    text-align: right;
    font-size: 0.9rem;
    color: #555;
}


/* Bütün blokların eyni hündürlükdə olması */
.full-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Sol tərəfdəki böyük xəbər */
.big-news .single-blog-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Böyük xəbər şəkili */
.big-news .blog-image {
    flex: 0 0 60%; /* Şəkil 60%, mətn 40% olacaq */
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.big-news .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mətn hissəsi */
.big-news .blog-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

/* Sağ tərəfdəki iki xəbər */
.side-news-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Sol tərəfdəki xəbərlə eyni hündürlükdə olacaq */
}

/* Sağ tərəfdəki iki xəbərin ölçüsünü tam uyğunlaşdırmaq */
.side-news {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Sağ tərəfdəki xəbərlərin şəkilləri */
.side-news .blog-image {
    flex: 0 0 50%; /* Şəkillər ümumi hündürlüyün yarısını tutacaq */
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.side-news .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sağdakı mətnin paylanması */
.side-news .blog-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}


/* Xəbər konteyneri */
.news-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

/* Bütün xəbər kartları tam 16:9 formatında olmalıdır */
.news-image-16-9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.news-image-16-9 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Böyük xəbər sahəsi */
.big-news-container {
    flex: 5;
    display: flex;
    flex-direction: column;
}

/* Sağ tərəfdəki iki kiçik xəbər sahəsi */
.small-news-container {
    flex: 5;
    display: flex;
    flex-direction: column;
    margin-left: -20px;
}

/* Kiçik xəbərlər arasında boşluq */
.news-gap {
    height: 20px;
}

/* Mobil responsive (999px və daha kiçik) */
@media (max-width: 999px) {
    .big-news-container, .small-news-container {
        flex: 100%;
    }

    .news-container {
        flex-direction: column;
        max-width: 100%;
    }
}


/* Şəkil tam oturacaq */
.news-image-16-9 {
    width: 100%;
    height: auto;
    position: relative;
    display: flex; /* Flex istifadə edərək şəkili tam yerləşdiririk */
}

/* Şəkil düzgün yerləşdirilir */
.news-image-16-9 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Şəkilin altında əlavə boşluq olmaması üçün */
}

/* Hər hansısa əlavə boşluq qalarsa */
.news-container {
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
}

/* Əgər alt hissədə əlavə boşluq qalırsa, bunu sıfırlayırıq */
.big-news-container,
.big-news {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ana böyük xəbər */
.world-main-news {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.world-news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.world-news-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    padding: 10px;
}

/* Sağ tərəfdəki iki xəbər */
.world-side-news-container {
    display: flex;
    gap: 15px;
}

.world-side-news-box {
    flex: 1;
}

.world-side-news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Tam genişlikdə xəbər */
.world-wide-news {
    background: #f5f5f5;
    padding: 15px;
}

.world-wide-news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive Ayarlar */
@media (max-width: 991px) {
    .world-side-news-container {
        flex-direction: column;
    }

    .world-side-news-box {
        width: 100%;
    }
}

/* Sağdakı iki xəbər kartı */
.side-news-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 16:9 formatında şəkil konteyneri */
.side-news-image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 formatı üçün */
}

/* Şəkil 16:9 formatını qoruyur və tam oturur */
.side-news-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Başlıq şəkildən aşağıda yerləşir */
.side-news-content {
    padding: 10px 0;
}

/* Başlıq dizaynı */
.side-news-title {
    font-size: 16px;
    line-height: 1.4;
}

/* Kateqoriya üçün ümumi qutu */
.category-box {
    padding: 15px;
    margin-bottom: 20px;
}

/* Kateqoriya başlığı */
.category-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Şəkilsiz xəbər üçün xüsusi dizayn */
.no-image-news {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.no-image-news-title {
    font-size: 16px;
}

.no-image-news-title a {
    color: #333;
    text-decoration: none;
}

.no-image-news-title a:hover {
    text-decoration: underline;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .category-box {
        margin-bottom: 30px;
    }
}

/* Social Media Brand Colours */
.custom-social-container {
    height: 100%;
    position: relative;
}

.custom-social {
    background-color: #F00;
    border-radius: 100%;
    width: 50px; /* Boyut küçültüldü */
    height: 50px; /* Boyut küçültüldü */
    position: absolute;
    right: 10px; /* Sağ tarafa yaslandı */
    top: 10px; /* Üstten biraz boşluk bırakıldı */
}

.custom-social-toggle {
    position: absolute;
    font-size: 20px; /* Font boyutu küçültüldü */
    cursor: pointer;
    width: 50px;
    height: 50px;
    text-align: center;
    padding-top: 15px;
    color: #FFF;
}

.custom-social-drop {
    height: 200px; /* Boyut küçültüldü */
    width: 50px; /* Boyut küçültüldü */
    background: #F00;
    display: none;
    position: absolute;
    top: 45px; /* Konum ayarlandı */
    border-radius: 25px;

    ul {
        margin-top: 5px;
    }

    li {
        font-size: 25px; /* Font boyutu küçültüldü */
        text-align: center;
        display: block;
        margin-top: 10px;
        margin-left: -15px; /* Konum ayarlandı */
        color: #FFF;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

    .custom-tw:hover {
        color: #00aced;
    }

    .custom-fb:hover {
        color: #3b5998;
    }

    .custom-pin:hover {
        color: #cb2027;
    }

    .custom-tum:hover {
        color: #32506d;
    }

    .custom-insta:hover {
        color: #517fa4;
    }
}
